import * as types from '../types'
export default {
    [types.LOGIN] (state,{userId,loginToken,name,avatar}){
        state.userId = userId
        state.loginToken = loginToken
        state.name = name
        state.avatar = avatar
    }
}